﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Security.Principal;

namespace NP.BPMReportPlatform.Entities.BPM_Business
{
    /// <summary>
    /// 流程催办配置表
    /// </summary>
    public class FlowUrgingConfiguration
    {
        /// <summary>
        /// ID
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        /// <summary>
        /// BTID
        /// </summary>
        public string BTID { get; set; }

        /// <summary>
        /// 催办节点名称
        /// </summary>
        public string NodeName { get; set; }

        /// <summary>
        /// 催办流程有效期限 (整数天/单位)
        /// </summary>
        public int ExpiryDate { get; set; }

        /// <summary>
        /// 催办频率
        /// </summary>
        public string Frequency { get; set; }

        /// <summary>
        /// 催办时间段：早上、中午、早中
        /// </summary>
        public string TimeSlot { get; set; }

        /// <summary>
        /// 按照星期几催办,多个用逗号分隔如：1,3
        /// 星期天是0
        /// </summary>
        public string Weeks { get; set; }

        /// <summary>
        /// 多少号催办,多个用逗号分隔如：1,15
        /// 特殊配置31:每个月最后一天催办
        /// </summary>
        public string Days { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 催办类型（1: 通用；2:依赖书特殊节点（试线反馈））
        /// </summary>
        public string FlowUrgingType { get; set; }

        /// <summary>
        /// 催办类别（1: 催办频率; 2:催办时间段; 3:催办日期; 4:星期几催办）
        /// </summary>
        public string FlowUrgingCategory { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDelete { get; set; }
    }
}
